import request from '@/utils/request'

// 登录 / 注册
export const upload = data => {
  console.log('data', data)
  return request({
    url: '/upload/upload',
    method: 'post',
    headers: { 'Content-Type': 'multipart/form-data' },
    data
  })
}
